package com.xhsj.user.pms.patent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhsj.user.pms.patent.domain.Disclosure;
import com.xhsj.user.pms.patent.domain.Judges;
import com.xhsj.user.pms.patent.query.PatentFindPatentListQuery;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JudgesMapper extends BaseMapper<Judges> {

    IPage<Judges> findList(IPage page, @Param("domain") Object domain);

    @MapKey("disclosureId")
    Map<String,Map<String,String>> getJudgesById(@Param("disclosures") List<String> disclosures);

}